package com.qf.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @ Author     ：lzq.
 * @ Date       ：Created in 16:14 2020/10/22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("cart")
public class Cart {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer goodId;
    private Integer uId;
    private Integer num;
    private String  title;

    private Goods Goods;

    public Goods getGoods() {
        return Goods;
    }

    public void setGoods(Goods goods) {
        Goods = goods;
    }
}
